/* Base Application Styles */
@import './variables.less';
html body {
  background-color: #f2f2f2;
  min-width: 1024px;
}
.line{
  border-top: 1px solid #eee;
  display: block;
  position: relative;
  top: -7px;
  margin: 0 -16px;
}
.ant-layout-topaside,#app {
  height: 100%;
}
.ant-layout-topaside{
  box-sizing: border-box;
  position: relative;
  background: #f2f2f2;
  height: 100%;
  overflow: auto;
  padding-top: 55px;
  padding-bottom: 15px;
  .ant-layout-header {
    height: 55px;
    line-height: 1.5;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background-color: @color-blue;
    padding: 0 20px;
    /*box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);*/
    .header-center{
      -webkit-flex:2 0 auto;
      flex:2 0 auto;
    }
    i.anticon.anticon-user{
      font-size: 18px;
      vertical-align: middle;
    }
    i.x-icon-s-arrow-down{
      vertical-align: middle;
    }
    .button{
      color: hsla(0,0%,100%,.8);
      font-size: 14px;
      vertical-align: middle;
      display: inline-block;
    }
    .button i{
      font-size: 22px;
    }
    .button:hover{
      color: hsla(0,0%,100%,1);
    }
    .nav-link {
      display: inline-block;
      margin-left: 45px;
      a{
        padding: 10px 0px;
        color: #fff;
        opacity: .8;
        transform: all 1s;
        font-size: 14px;
        margin-right: 20px;
        &:hover,&.on{
          opacity:1;
        }
      }
    }
  }
  .ant-layout-logo {
    display: inline-block;
    vertical-align: middle;
    width: 167px;
    overflow: hidden;
    transition: all cubic-bezier(.645,.045,.355,1) .4s;
    img{
      width: 120px;
      display: inline-block;
      vertical-align: middle;
    }
  }
  .ant-layout-login{
    float: right;
    margin-top: 19px;
    a{color: #fff;}
  }
  .ant-layout-container {
    background: #fff;
    margin: 24px 0 0;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    padding: 24px 0;
  }
  .ant-layout-sider {
      position: fixed;
      top: 55px;
      left: 0;
      width: 170px;
      bottom: 0;
      background: #fff;
      padding: 25px 0px 0px;
      z-index: 2;
      border-right: 1px solid #e9e9e9;
      transition: all cubic-bezier(.645,.045,.355,1) .4s;
      /*overflow-x: hidden;
      overflow-y: auto;*/
      .ant-menu-inline .ant-menu-item-selected{
        border-right: 0;
        border-left: 2px solid @color-blue;
        margin-right: 1px;
      }
      .ant-menu{
        transition: all cubic-bezier(.645,.045,.355,1) .4s;
      }
      .ant-menu .ant-menu .ant-menu-item-selected{
          padding-left: 46px!important;
      }
      .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
        background-color: #e7f4fd;
      }
  }
  .ant-layout-content {
      min-height: 100%;
      padding: 0px 20px 0 190px;
      transition: all cubic-bezier(.645,.045,.355,1) .4s;
      position: relative;
      z-index: 1;
  }
  .ant-layout-footer {
    height: 64px;
    line-height: 64px;
    text-align: center;
    font-size: 12px;
    color: #999;
  }
  /* 导航 */
  /*.ant-layout-sider .ant-menu{
      background: transparent;
      border-right: 0;
      .ant-menu-submenu-title{
        span i{
          font-size: 18px;
          vertical-align: top;
          margin-right: 5px;
          transition: all .2s .6s;
        }
      }
      .ant-menu-item{
          border-right: 0;
          margin-left: 5px;
          margin-right: 5px;
          a{
              font-size: 13px;
              i{
                  margin-right: 8px;
                  font-size: 24px;
                  position: relative;
                  top: 2px;
              }
          }
      }
      .ant-menu-submenu-active,.ant-menu-submenu-title:hover{
          background: transparent!important;
      }
      .ant-menu-item-active{
          background: #e7e7e7!important;
          color: #212121!important;
      }
      .ant-menu-item-selected{
          background: #e7e7e7!important;
          color: #212121!important;
          a,a:hover{
              color:#616161
          }
      }
      .ant-menu{
          > .ant-menu-item{
              padding-left: 26px!important;
          }
          .ant-menu-item-group-list{
              > .ant-menu-item{
                  padding-left: 25px!important;
              }
          }
      }
      .ant-menu-item-group-title{
          padding-left: 25px;
      }
  }
  .ant-layout-sider > .ant-menu > li{
      padding-top: 15px;
      border-top: 1px solid rgba(0,0,0,.1);
      margin-bottom: 15px;
      
      &.ant-menu-item{
          padding-left: 15px!important;
          > a{
              position: relative;
              top: -15px;
          }
      }
      &:first-child{
          border-top: 0;
      }
      &.last-child{
          margin-bottom: 0;
      }
      .ant-menu-submenu-title{
          height: 20px;
          line-height: 20px;
          margin-bottom: 10px;
          padding-left: 10px!important;
          span{
              font-size: 13px;
          }
      }
  }*/
}

.index img {
  margin: 40px auto;
  border-radius: 4px;
  background: #fff;
  display: block;
}

.index .notice {
  margin: 20px auto;
  padding: 15px 0;
  text-align: center;
  border: 1px solid #000;
  border-width: 1px 0;
  background: #666;
}
.content-inner{
  background: #fff;
  clear: both;
  box-shadow: 0 2px 1px 1px rgba(0,0,0,.05);
  padding: 15px;
}
.out-content{
  margin: -15px;
  background: @background-color;
  box-shadow: 0 2px 3px 7px @background-color;
}
.message{
  display: inline-block;
  vertical-align: bottom;
  margin-right: 20px;
  cursor: pointer;
  .anticon{
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    &:hover{
      color: #fff;
    }
  }
  .ant-badge-count{
    box-shadow: none;
  }
}

/* 隐藏菜单 */
.full-page {
  .ant-layout-content{
    padding-left: 70px;
  }
  .ant-layout-logo{
    width: 27px;
    margin-right: 25px;
  }
  .ant-layout-sider {
    width: 50px;
    background: #fff;
    padding-left: 0;
    padding-right: 0;
    overflow-x: visible;
    overflow-y: visible;
    .ant-menu > li .ant-menu-submenu-title,.ant-menu .ant-menu-item{
      padding-left: 15px;
      span i{
        font-size: 20px;
      }
    }
    .ant-menu-vertical{
      margin-left: 0;
      width: 50px!important;
      background: #fff;
      .ant-menu-submenu-title:after{
        display: none;
      }
      .ant-menu .ant-menu-item{
        margin-left: 0;
        margin-right: 0;
        padding-left: 16px !important;
        left: 0;
      }
    }
  }
}

